
		*************************************************************************
		*** EBA Voter Turnout (VT) in democracies no lag, Fixed effects  11-20 ***
		*************************************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				cd "C:\Users\Administrator\Desktop\"
				use "turnout_eba_stdlag.dta"

 *************
 ** 11. election_5_6 **
 *************
		
		xtreg vt /**/ 	election_5_6  /**/
		regsave using /**/ eba_vtnlfe_11 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			 /**/ 			///
			election_7_8	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ election_5_6	 /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtnlfe_11 /**/, tstat pval ci autoid append detail(all)  			
						}
														

 *************
 ** 12. election_7_8 **
 *************
		
		xtreg vt /**/ election_7_8	  /**/
		regsave using /**/ eba_vtnlfe_12 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			/**/	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ election_7_8 /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtnlfe_12 /**/, tstat pval ci autoid append detail(all)  			
						}
														
								
 *************
 ** 13. enpp_s **
 *************
		
		xtreg vt /**/ enpp_s	  /**/
		regsave using /**/ eba_vtnlfe_13 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			/**/ 			///
			enpp_sq_s 		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ enpp_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtnlfe_13 /**/, tstat pval ci autoid append detail(all)  			
						}
														
									
 *************
 ** 14. enpp_sq_s **
 *************
		
		xtreg vt /**/ enpp_sq_s	  /**/
		regsave using /**/ eba_vtnlfe_14 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s  			///
			 /**/		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ enpp_sq_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtnlfe_14 /**/, tstat pval ci autoid append detail(all)  			
						}
														
							
 ***********************
 ** 15. exec_response **
 ***********************
		
		xtreg vt /**/ exec_response	  /**/
		regsave using /**/ eba_vtnlfe_15 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			/**/ 	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ exec_response /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_15 /**/, tstat pval ci autoid append detail(all)  			
						}
														
					
 ***********************
 ** 16. federalism **
 ***********************
		
		xtreg vt /**/ federalism	  /**/
		regsave using /**/ eba_vtnlfe_16 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   ///
			/**/		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ federalism /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_16 /**/, tstat pval ci autoid append detail(all)  			
						}
																							 ***********************
 ** 17.fract_ethnic_s  **
 ***********************
		
		xtreg vt /**/  fract_ethnic_s	  /**/
		regsave using /**/ eba_vtnlfe_17 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			/**/  	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_ethnic_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_17 /**/, tstat pval ci autoid append detail(all)  			
						}
																							***********************
 ** 18.fract_lang_s  **
 ***********************
		
		xtreg vt /**/ fract_lang_s /**/
		regsave using /**/ eba_vtnlfe_18 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			/**/  	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_lang_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_18 /**/, tstat pval ci autoid append detail(all)  			
						}
																																														***********************
 ** 19.fract_rel_s  **
 ***********************
		
		xtreg vt /**/ fract_rel_s /**/
		regsave using /**/ eba_vtnlfe_19 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			 /**/  	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_rel_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_19 /**/, tstat pval ci autoid append detail(all)  			
						}							
				
																						***********************
 ** 20.gini_sl  **
 ***********************
		
		xtreg vt /**/ gini_sl  /**/
		regsave using /**/ eba_vtnlfe_20 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s   	///
			/**/  		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ gini_sl /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtnlfe_20 /**/, tstat pval ci autoid append detail(all)  			
						}							
								
				
	 
